package com.jeasonzhao.commons.data;

public class SortSetting implements java.io.Serializable
{
    private static final long serialVersionUID = 1L;
    private int colIndex = -1;
    private boolean ascend = true;
    public SortSetting()
    {
        super();
    }

    public SortSetting(int colindex)
    {
        super();
        this.colIndex = colindex;
    }

    public SortSetting(int colindex,boolean asc)
    {
        super();
        this.colIndex = colindex;
        this.ascend = asc;
    }

    public boolean isAscend()
    {
        return ascend;
    }

    public int getColIndex()
    {
        return colIndex;
    }

    public void setAscend(boolean ascend)
    {
        this.ascend = ascend;
    }

    public void setColIndex(int colIndex)
    {
        this.colIndex = colIndex;
    }

}
